package com.flow.engine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.flow.engine.enums.standard.FlowAuditType;
import com.flow.engine.enums.standard.NodeType;
import lombok.Data;

import java.util.List;

@Data
public class FlowNodeTemplate extends BaseEntity{

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long flowTemplateId;

    private String flowNodeName;

    @TableField(exist = false)
    private List<Long> parentIds;

    @TableField(exist = false)
    private List<Long> nextIds;

    private FlowAuditType flowAuditType;

    private String flowAuditValue;

    private NodeType nodeType;


    private String nextCondition;
    private String currentCondition;

}
